﻿using JStore.Core.Enums;
using SpeadFrm.ORM;

namespace JStore.Core.Entities 
{
	/// <summary>
	///
	/// </summary>
	[TableName("CardType"),PrimaryKey("Id")]
	public class CardType
	{ 
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 消费类型
        /// </summary>
        public CardClass CardClass { get; set; }

        /// <summary>
        /// 消费名称
        /// </summary>
        public string CardName { get; set; }

        /// <summary>
        /// 消费金额
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 结算金额
        /// </summary>
        public decimal BalanceRate { get; set; }

        /// <summary>
        /// 购物折扣
        /// </summary>
        public string SaleRate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int UserTypeId { get; set; }


	}
}

